import numpy as np


def gen_golden_data_cbrt():
    # 生成随机输入数据
    input_x = np.random.uniform(-1000, 1000, [2048]).astype(np.float32)  
    golden = np.cbrt(input_x).astype(np.float32)  # 计算

    input_x.tofile("./input/input_x.bin")
    golden.tofile("./output/golden.bin")


if __name__ == "__main__":
    gen_golden_data_cbrt()
